<form action="">
  <h3 mat-dialog-title>{{ title }}</h3>
  <div mat-dialog-content>
    <mat-form-field class="full-width">
      <input type="text" matInput placeholder="任务名称" />
    </mat-form-field>
  </div>
  <div mat-dialog-actions>
    <button type="button" mat-raised-button color="primary" (click)="onClick()">
      保存
    </button>
    <button type="button" mat-dialog-close mat-button>关闭</button>
  </div>
</form>
